/* singleton notification area: to be used for adding transient messages */
#MessageArea {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: auto;
	max-height: 80%;
	overflow-x: hidden;
	overflow-y: auto;
	z-index: 101;
	text-align: left;
}

/* singleton notification area togglers */
#MessageShowAll {
	display: block;
	position: fixed;
	top: 0;
	right: 0;
	z-index: 10;
	font-size: small;
	padding: 2px;
	text-decoration: none;
	text-align: center;
	line-height: 90%;
	color: #00f;
	background-color: #f6f6f6;
}
#MessageShowAll:hover {color: #f60;}

#MessageAreaToolBar {
	font-size: small;
	padding: 0 1.5em 1em 0;
	text-align: right;
}
#MessageAreaToolBar a {
	color: #00f;
	background-color: #f6f6f6;
    text-decoration: none;
    padding: 2px 1em;
	margin-left: 2em;
}
#MessageAreaToolBar a:hover {
    color: #f60;
}
#MessageArea div.message form {display: inline; margin: 0; padding: 0;}

/* Stylish messages ;-) */
div.message {
	position: relative;
	border: 1px solid #ccc;
	color: #003;
	background-color: #eee;
	min-height: 24px;
	padding: 4px 24px 4px 40px;
	margin: 1ex 0;
	background-position: 4px 4px;
	background-repeat: no-repeat;
	background-image: url(message-note.png);
}
#MessageArea div.message {
	margin: 0;
	border-bottom-width: 3px;
	text-align: left;
}

div.message.error, div.message.err {
	border-color: #c00;
	color: #900;
	background-color: #fcf;
	background-image: url(message-error.png);
}

div.message.warn, div.message.warning {
	border-color: #cc0;
	color: #660;
	background-color: #ffc;
	background-image: url(message-warning.png);
}

div.message.info {background-image: url(message-info.png);}

div.message.mail {background-image: url(message-mail.png);}

div.message.select {background-image: url(message-select.png);}

div.message.prompt {background-image: url(message-prompt.png);}

div.message.confirm {
	border-color: #cc0;
	color: #660;
	background-color: #ffc;
	background-image: url(message-confirm.png);
}

div.message a {
	color: inherit;
	background-color: inherit;
	text-decoration: underline;
}

div.message a.close {
	position: absolute;
	top: 0;
	right: 0;
	display: block;
	width: 16px;
	height: 16px;
	text-decoration: none;
	overflow: hidden;
	text-indent: 800em;
	background-position: 0 0;
	background-repeat: no-repeat;
	background-image: url(message-close.png);
	opacity: 0.6;
}
div.message a.close:hover {opacity: 1;}

div.message.select a {text-decoration: none;}

div.message div.debug {
	padding: .5ex 1ex;
	background-color: #ff9;
	margin-right: -20px;
	white-space: pre;
	max-height: 10em;
	overflow: auto;
}

div.message.progress {
	background-image: url(message-progress.gif);
	color: #006;
	background-color: #eee;
	padding-right: 4px;
}
div.progress-wrapper {position: relative;}
div.progress-label {
	position: relative;
    font-size: medium;
	line-height: 1.6;
}
div.progress-meter {
	position: relative;
	text-align: right;
	line-height: 1.6;
    float: right;
    padding-right: 4px;
}
div.progress-graph {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
div.progress-done {
	position: absolute;
	color: #ff0;
	background-color: #9cf;
	height: 100%;
}
